package com.winderinfo.yikaotianxia.ui.my;

public class UserBean {

    /**
     * msg : 操作成功
     * code : 0
     * ykUser : {"id":1,"username":"董忌傲","sex":"男","phone":"13733190630","password":"123456","salt":null,"addr":"河南省郑州市","area":"河南","pId":null,"recommendedcode":"123456","commission":100,"status":"0","createtime":"2019-07-16 11:00:03","cartnum":1,"ordernum":6,"couponsnum":1,"learnnum":1,"coursenum":9,"photo":"http://ic.winderinfo.com:8090/IC/profile/rotation/g.jpg","pid":null}
     */

    private String msg;
    private int code;
    private YkUserBean ykUser;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public YkUserBean getYkUser() {
        return ykUser;
    }

    public void setYkUser(YkUserBean ykUser) {
        this.ykUser = ykUser;
    }

    public static class YkUserBean {
        /**
         * id : 1
         * username : 董忌傲
         * sex : 男
         * phone : 13733190630
         * password : 123456
         * salt : null
         * addr : 河南省郑州市
         * area : 河南
         * pId : null
         * recommendedcode : 123456
         * commission : 100
         * status : 0
         * createtime : 2019-07-16 11:00:03
         * cartnum : 1
         * ordernum : 6
         * couponsnum : 1
         * learnnum : 1
         * coursenum : 9
         * photo : http://ic.winderinfo.com:8090/IC/profile/rotation/g.jpg
         * pid : null
         */

        private int id;
        private String username;
        private String sex;
        private String phone;
        private String password;
        private String salt;
        private String addr;
        private String area;
        private int pId;
        private String recommendedcode;
        private int commission;
        private String status;
        private String createtime;
        private int cartnum;
        private int ordernum;
        private int couponsnum;
        private int learnnum;
        private int coursenum;
        private String photo;
        private int pid;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getSex() {
            return sex;
        }

        public void setSex(String sex) {
            this.sex = sex;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getPassword() {
            return password;
        }

        public void setPassword(String password) {
            this.password = password;
        }

        public String getSalt() {
            return salt;
        }

        public void setSalt(String salt) {
            this.salt = salt;
        }

        public String getAddr() {
            return addr;
        }

        public void setAddr(String addr) {
            this.addr = addr;
        }

        public String getArea() {
            return area;
        }

        public void setArea(String area) {
            this.area = area;
        }

        public int getPId() {
            return pId;
        }

        public void setPId(int pId) {
            this.pId = pId;
        }

        public String getRecommendedcode() {
            return recommendedcode;
        }

        public void setRecommendedcode(String recommendedcode) {
            this.recommendedcode = recommendedcode;
        }

        public int getCommission() {
            return commission;
        }

        public void setCommission(int commission) {
            this.commission = commission;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getCreatetime() {
            return createtime;
        }

        public void setCreatetime(String createtime) {
            this.createtime = createtime;
        }

        public int getCartnum() {
            return cartnum;
        }

        public void setCartnum(int cartnum) {
            this.cartnum = cartnum;
        }

        public int getOrdernum() {
            return ordernum;
        }

        public void setOrdernum(int ordernum) {
            this.ordernum = ordernum;
        }

        public int getCouponsnum() {
            return couponsnum;
        }

        public void setCouponsnum(int couponsnum) {
            this.couponsnum = couponsnum;
        }

        public int getLearnnum() {
            return learnnum;
        }

        public void setLearnnum(int learnnum) {
            this.learnnum = learnnum;
        }

        public int getCoursenum() {
            return coursenum;
        }

        public void setCoursenum(int coursenum) {
            this.coursenum = coursenum;
        }

        public String getPhoto() {
            return photo;
        }

        public void setPhoto(String photo) {
            this.photo = photo;
        }

        public int getPid() {
            return pid;
        }

        public void setPid(int pid) {
            this.pid = pid;
        }
    }
}
